package com.mlethe.android.demo.qrcode;

import android.os.Bundle;
import android.util.Log;

import androidx.appcompat.app.AppCompatActivity;

import com.mlethe.android.demo.R;

public class MainQRCodeActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main_qrcode);
    }

    @Override
    protected void onResume() {
        super.onResume();
        int rotation = getWindowManager().getDefaultDisplay().getRotation();
        int orientation = getApplicationContext().getResources().getConfiguration().orientation;
        Log.e("yym", "captureStillPicture: rotation->" + rotation + "，orientation->" + orientation);
    }
}
